/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entity;

/**
 *
 * @author admin
 */
public class Image {
    private int imageID;
    private String path;
    private Post post;

    public Image(int imageID, String path, Post post) {
        this.imageID = imageID;
        this.path = path;
        this.post = post;
    }

    public Image() {
    }

    
    public int getImageID() {
        return imageID;
    }

    public void setImageID(int imageID) {
        this.imageID = imageID;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Post getPost() {
        return post;
    }

    public void setPost(Post post) {
        this.post = post;
    }
    @Override
    public String toString(){
        return this.path;
    }
}
